import random

def fetch(problemType):
    p = None
    if problemType == 'algebra1':
        import equationsWithFractions
        p = equationsWithFractions.equationsWithFractions()
    elif problemType == 'exponents':
        import powers
        p = powers.equationsWithPowers()
    else:
        p = (-1337, -1337)

    return p, random.randrange(1, 1000000000)

'''
print fetch('algebra1')
print fetch('exponents')
'''
